#!/bin/bash
mkdir onvif_head
cd onvif_head
# 类型映射文件typemap.dat路径: /usr/local/share/gsoap
wsdl2h -o onvif.h -c -s -t typemap.dat \
http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl \
http://www.onvif.org/onvif/ver10/media/wsdl/media.wsdl \
http://www.onvif.org/onvif/ver10/deviceio.wsdl \
http://www.onvif.org/onvif/ver10/network/wsdl/remotediscovery.wsdl
